package com.hbt.myconsumer.controller;

import com.hbt.myconsumer.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.kafka.KafkaProperties;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyConsumerController {
    @Autowired
    ConsumerService consumerService;

    @RequestMapping("/consumer/abc")
    public String abc(){
        System.out.println("enter consumer");
        return consumerService.abc();
//        return "";
    }
}
